Air Data Sensors¶
Veronte Autopilot 1x can be integrated with any external sensor that shares the communication interface.
Air data sensors can be configured to be considered as part of the sensors fusion.
High Speed Pitot Sensor¶
Once the hardware has been installed according to High Speed Pitot Sensor - Integration examples section of 1x Hardware Manual, the value can be monitored in 1x PDI Builder by using the variables ADC0 to ADC4.
Note
For pin ANALOG_0 the correspondent ADC variable in 1x PDI Builder is ADC0, for ANALOG_1 is ADC1 and so on.
Read the following steps to configure it:
Go to Block Programs menu to create a new program where the blocks configuration for reading the sensor measurements will be built.
To know the basics about Block Programs, read the Block Programs section of this manual.
The configuration of this new program should be as shown in the following image:
Note
The EWMA filter should have a value of 0.75 for Tau.
This block program shows the configuration equivalent to the following equation: \(\Rightarrow Pressure \, PITOT (Pa) = 1000 \cdot Pressure (KPa)\) \(\Rightarrow Pressure (KPa) = 33.95 \cdot PITOT \; VOLTAGE \; FILTERED - 4.97\)
According to the previous image, pressure measurements are written in the variable Pressure PITOT Pa in pascals.
The ADC variable to select depends on the ANALOG pin used for receive data from High Speed Pitot Sensor. On the previous image, the ADC variable selected (ADC 0) reads data from pin 38.
For more information on Pinout, read the Pinout - Hardware Installation section of the 1x Hardware Manual.
Go to Sensors menu \(\rightarrow\) Dynamic Pressure panel \(\rightarrow\) Sensor tab.
Finally, enable a “Decimal var sensor” and assign it the previously calculated variable in pascals as the dynamic pressure measurement.
Note
The sensor is extremely sensitive at speed 0 due to its high resolution.
LM335 with Autopilot 4x¶
Once LM335 sensor is wired and connected to Autopilot 1x or 4x (according to Temperature sensor LM335 - Integration examples section of the 4x Hardware Manual), the value can be monitored in 1x PDI Builder by using the variables ADC0 to ADC4.
Note
For pin ANALOG_0 the correspondent ADC variable in 1x PDI Builder is ADC0, for ANALOG_1 is ADC1 and so on.
Read the following steps to configure a Veronte Autopilot 1x:
Go to Connections menu \(\rightarrow\) ADC 1 panel (This is only an example, the user must select the ADC pin where the signal is connected).
Click on ‘Create new program’:
Go to Block Programs menu \(\rightarrow\) Launch Editor.
Configure the following operation (for more information about blocks, read Block Programs section of this manual):
Note
The Temperature variable is an User Variable which has been renamed.
The equation to obtain temperature (in ºC) from voltage is: \(T = Vout \cdot 100 - 273\). Nonetheless, in the blocks program, the input signal is not multiplied by 100, since ADC expresses the voltage in hundredths.
The IIR Filter block requires the following configuration, where the column B has 20 coefficients (from 0 to 19) with value 1.
Click on Apply to save the changes.
Save the configuation in the Autopilot 1x.
After implementing the operation, the variable Temperature (User variable renamed) will represent the temperature (in °C) measured by the LM335 sensor.
Tip
With Veronte Ops it is possible to check that the sensor is working correctly.
OAT Sensor¶
Once OAT sensor is connected to Autopilot 1x (according to OAT sensor 428 of MGL Avionics - Integration examples section of the 1x Hardware Manual), the value can be monitored in 1x PDI Builder by using the variables ADC0 to ADC4.
Note
For pin ANALOG_0 the correspondent ADC variable in 1x PDI Builder is ADC0, for ANALOG_1 is ADC1 and so on.
Read the following steps to configure it:
Go to Connections menu \(\rightarrow\) ADC 0 panel (This is only an example, the user must select the ADC pin where the signal is connected).
Click on ‘Create new program’:
Go to Block programs menu.
Configure the following operation (for more information about blocks, read Block Programs section of this manual):
After implementing the operation, the variable Temperature sensor will represent the temperature (in °C) measured by the OAT sensor.
Note
If the temperature is needed in other units, the only thing necessary would be to modify the Custom block Converter K to C, or simply remove it.
Note
As Autopilot 4x can read up to 36 V per each ADC, the \(3.3\) value of the ADC program must be changed to \(36\) if applicable.